typedef struct func func;
void SDL_AddEventWatch(func *filter,void *userdata);
void SDL_AddHintCallback(const char *name,func *callback,void *userdata);
int SDL_AddTimer(unsigned int interval,func *callback,void *param);
SDL_PixelFormat* SDL_AllocFormat(unsigned int pixel_format);
SDL_Palette* SDL_AllocPalette(int ncolors);
SDL_RWops* SDL_AllocRW();
int SDL_AtomicAdd(SDL_atomic_t *a,int v);
int SDL_AtomicCAS(SDL_atomic_t *a,int oldval,int newval);
int SDL_AtomicCASPtr(void **a,void *oldval,void *newval);
int SDL_AtomicGet(SDL_atomic_t *a);
void* SDL_AtomicGetPtr(void **a);
void SDL_AtomicLock(int *lock);
int SDL_AtomicSet(SDL_atomic_t *a,int v);
void* SDL_AtomicSetPtr(void **a,void *v);
int SDL_AtomicTryLock(int *lock);
void SDL_AtomicUnlock(int *lock);
int SDL_AudioInit(const char *driver_name);
void SDL_AudioQuit();
int SDL_BuildAudioCVT(SDL_AudioCVT *cvt,short unsigned int src_format,unsigned char src_channels,int src_rate,short unsigned int dst_format,unsigned char dst_channels,int dst_rate);
void SDL_CalculateGammaRamp(float gamma,short unsigned int *ramp);
int SDL_CaptureMouse(int enabled);
void SDL_ClearError();
void SDL_ClearHints();
void SDL_ClearQueuedAudio(unsigned int dev);
void SDL_CloseAudio();
void SDL_CloseAudioDevice(unsigned int dev);
int SDL_CondBroadcast(SDL_cond *cond);
int SDL_CondSignal(SDL_cond *cond);
int SDL_CondWait(SDL_cond *cond,SDL_mutex *mutex);
int SDL_CondWaitTimeout(SDL_cond *cond,SDL_mutex *mutex,unsigned int ms);
int SDL_ConvertAudio(SDL_AudioCVT *cvt);
int SDL_ConvertPixels(int width,int height,unsigned int src_format,const void *src,int src_pitch,unsigned int dst_format,void *dst,int dst_pitch);
SDL_Surface* SDL_ConvertSurface(SDL_Surface *src,const SDL_PixelFormat *fmt,unsigned int flags);
SDL_Surface* SDL_ConvertSurfaceFormat(SDL_Surface *src,unsigned int pixel_format,unsigned int flags);
SDL_Cursor* SDL_CreateColorCursor(SDL_Surface *surface,int hot_x,int hot_y);
SDL_cond* SDL_CreateCond();
SDL_Cursor* SDL_CreateCursor(const unsigned char *data,const unsigned char *mask,int w,int h,int hot_x,int hot_y);
SDL_mutex* SDL_CreateMutex();
SDL_Surface* SDL_CreateRGBSurface(unsigned int flags,int width,int height,int depth,unsigned int Rmask,unsigned int Gmask,unsigned int Bmask,unsigned int Amask);
SDL_Surface* SDL_CreateRGBSurfaceFrom(void *pixels,int width,int height,int depth,int pitch,unsigned int Rmask,unsigned int Gmask,unsigned int Bmask,unsigned int Amask);
SDL_Surface* SDL_CreateRGBSurfaceWithFormat(unsigned int flags,int width,int height,int depth,unsigned int format);
SDL_Surface* SDL_CreateRGBSurfaceWithFormatFrom(void *pixels,int width,int height,int depth,int pitch,unsigned int format);
SDL_Renderer* SDL_CreateRenderer(SDL_Window *window,int index,unsigned int flags);
SDL_sem* SDL_CreateSemaphore(unsigned int initial_value);
SDL_Renderer* SDL_CreateSoftwareRenderer(SDL_Surface *surface);
SDL_Cursor* SDL_CreateSystemCursor(int id);
SDL_Texture* SDL_CreateTexture(SDL_Renderer *renderer,unsigned int format,int access,int w,int h);
SDL_Texture* SDL_CreateTextureFromSurface(SDL_Renderer *renderer,SDL_Surface *surface);
SDL_Thread* SDL_CreateThread(func *fn,const char *name,void *data);
SDL_Window* SDL_CreateWindow(const char *title,int x,int y,int w,int h,unsigned int flags);
int SDL_CreateWindowAndRenderer(int width,int height,unsigned int window_flags,SDL_Window **window,SDL_Renderer **renderer);
SDL_Window* SDL_CreateWindowFrom(const void *data);
int SDL_DXGIGetOutputInfo(int displayIndex,int *adapterIndex,int *outputIndex);
void SDL_DelEventWatch(func *filter,void *userdata);
void SDL_DelHintCallback(const char *name,func *callback,void *userdata);
void SDL_Delay(unsigned int ms);
unsigned int SDL_DequeueAudio(unsigned int dev,void *data,unsigned int len);
void SDL_DestroyCond(SDL_cond *cond);
void SDL_DestroyMutex(SDL_mutex *mutex);
void SDL_DestroyRenderer(SDL_Renderer *renderer);
void SDL_DestroySemaphore(SDL_sem *sem);
void SDL_DestroyTexture(SDL_Texture *texture);
void SDL_DestroyWindow(SDL_Window *window);
void SDL_DetachThread(SDL_Thread *thread);
int SDL_Direct3D9GetAdapterIndex(int displayIndex);
void SDL_DisableScreenSaver();
void SDL_EnableScreenSaver();
int SDL_EnclosePoints(const SDL_Point *points,int count,const SDL_Rect *clip,SDL_Rect *result);
int SDL_Error(int code);
unsigned char SDL_EventState(unsigned int type,int state);
int SDL_FillRect(SDL_Surface *dst,const SDL_Rect *rect,unsigned int color);
int SDL_FillRects(SDL_Surface *dst,const SDL_Rect *rects,int count,unsigned int color);
void SDL_FilterEvents(func *filter,void *userdata);
void SDL_FlushEvent(unsigned int type);
void SDL_FlushEvents(unsigned int minType,unsigned int maxType);
void SDL_FreeCursor(SDL_Cursor *cursor);
void SDL_FreeFormat(SDL_PixelFormat *format);
void SDL_FreePalette(SDL_Palette *palette);
void SDL_FreeRW(SDL_RWops *area);
void SDL_FreeSurface(SDL_Surface *surface);
void SDL_FreeWAV(unsigned char *audio_buf);
int SDL_GL_BindTexture(SDL_Texture *texture,float *texw,float *texh);
void* SDL_GL_CreateContext(SDL_Window *window);
void SDL_GL_DeleteContext(void *context);
int SDL_GL_ExtensionSupported(const char *extension);
int SDL_GL_GetAttribute(int attr,int *value);
void* SDL_GL_GetCurrentContext();
SDL_Window* SDL_GL_GetCurrentWindow();
void SDL_GL_GetDrawableSize(SDL_Window *window,int *w,int *h);
void* SDL_GL_GetProcAddress(const char *proc);
int SDL_GL_GetSwapInterval();
int SDL_GL_LoadLibrary(const char *path);
int SDL_GL_MakeCurrent(SDL_Window *window,void *context);
void SDL_GL_ResetAttributes();
int SDL_GL_SetAttribute(int attr,int value);
int SDL_GL_SetSwapInterval(int interval);
void SDL_GL_SwapWindow(SDL_Window *window);
int SDL_GL_UnbindTexture(SDL_Texture *texture);
void SDL_GL_UnloadLibrary();
int SDL_GameControllerAddMapping(const char *mappingString);
int SDL_GameControllerAddMappingsFromRW(SDL_RWops *rw,int freerw);
void SDL_GameControllerClose(SDL_GameController *gamecontroller);
int SDL_GameControllerEventState(int state);
SDL_GameController* SDL_GameControllerFromInstanceID(int joyid);
int SDL_GameControllerGetAttached(SDL_GameController *gamecontroller);
short int SDL_GameControllerGetAxis(SDL_GameController *gamecontroller,int axis);
int SDL_GameControllerGetAxisFromString(const char *pchString);
SDL_GameControllerButtonBind SDL_GameControllerGetBindForAxis(SDL_GameController *gamecontroller,int axis);
SDL_GameControllerButtonBind SDL_GameControllerGetBindForButton(SDL_GameController *gamecontroller,int button);
unsigned char SDL_GameControllerGetButton(SDL_GameController *gamecontroller,int button);
int SDL_GameControllerGetButtonFromString(const char *pchString);
SDL_Joystick* SDL_GameControllerGetJoystick(SDL_GameController *gamecontroller);
char* SDL_GameControllerGetStringForAxis(int axis);
char* SDL_GameControllerGetStringForButton(int button);
char* SDL_GameControllerMapping(SDL_GameController *gamecontroller);
char* SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid);
char* SDL_GameControllerName(SDL_GameController *gamecontroller);
char* SDL_GameControllerNameForIndex(int joystick_index);
SDL_GameController* SDL_GameControllerOpen(int joystick_index);
void SDL_GameControllerUpdate();
func* SDL_GetAssertionHandler(void **puserdata);
SDL_AssertData* SDL_GetAssertionReport();
char* SDL_GetAudioDeviceName(int index,int iscapture);
int SDL_GetAudioDeviceStatus(unsigned int dev);
char* SDL_GetAudioDriver(int index);
int SDL_GetAudioStatus();
char* SDL_GetBasePath();
int SDL_GetCPUCacheLineSize();
int SDL_GetCPUCount();
void SDL_GetClipRect(SDL_Surface *surface,SDL_Rect *rect);
char* SDL_GetClipboardText();
SDL_DisplayMode* SDL_GetClosestDisplayMode(int displayIndex,const SDL_DisplayMode *mode,SDL_DisplayMode *closest);
int SDL_GetColorKey(SDL_Surface *surface,unsigned int *key);
char* SDL_GetCurrentAudioDriver();
int SDL_GetCurrentDisplayMode(int displayIndex,SDL_DisplayMode *mode);
char* SDL_GetCurrentVideoDriver();
SDL_Cursor* SDL_GetCursor();
func* SDL_GetDefaultAssertionHandler();
SDL_Cursor* SDL_GetDefaultCursor();
int SDL_GetDesktopDisplayMode(int displayIndex,SDL_DisplayMode *mode);
int SDL_GetDisplayBounds(int displayIndex,SDL_Rect *rect);
int SDL_GetDisplayDPI(int displayIndex,float *ddpi,float *hdpi,float *vdpi);
int SDL_GetDisplayMode(int displayIndex,int modeIndex,SDL_DisplayMode *mode);
char* SDL_GetDisplayName(int displayIndex);
int SDL_GetDisplayUsableBounds(int displayIndex,SDL_Rect *rect);
char* SDL_GetError();
int SDL_GetEventFilter(func **filter,void **userdata);
unsigned int SDL_GetGlobalMouseState(int *x,int *y);
SDL_Window* SDL_GetGrabbedWindow();
char* SDL_GetHint(const char *name);
int SDL_GetHintBoolean(const char *name,int default_value);
int SDL_GetKeyFromName(const char *name);
int SDL_GetKeyFromScancode(int scancode);
char* SDL_GetKeyName(int key);
SDL_Window* SDL_GetKeyboardFocus();
unsigned char* SDL_GetKeyboardState(int *numkeys);
int SDL_GetModState();
SDL_Window* SDL_GetMouseFocus();
unsigned int SDL_GetMouseState(int *x,int *y);
int SDL_GetNumAudioDevices(int iscapture);
int SDL_GetNumAudioDrivers();
int SDL_GetNumDisplayModes(int displayIndex);
int SDL_GetNumRenderDrivers();
int SDL_GetNumTouchDevices();
int SDL_GetNumTouchFingers(long long int touchID);
int SDL_GetNumVideoDisplays();
int SDL_GetNumVideoDrivers();
long long unsigned int SDL_GetPerformanceCounter();
long long unsigned int SDL_GetPerformanceFrequency();
char* SDL_GetPixelFormatName(unsigned int format);
char* SDL_GetPlatform();
int SDL_GetPowerInfo(int *secs,int *pct);
char* SDL_GetPrefPath(const char *org,const char *app);
unsigned int SDL_GetQueuedAudioSize(unsigned int dev);
void SDL_GetRGB(unsigned int pixel,const SDL_PixelFormat *format,unsigned char *r,unsigned char *g,unsigned char *b);
void SDL_GetRGBA(unsigned int pixel,const SDL_PixelFormat *format,unsigned char *r,unsigned char *g,unsigned char *b,unsigned char *a);
int SDL_GetRelativeMouseMode();
unsigned int SDL_GetRelativeMouseState(int *x,int *y);
int SDL_GetRenderDrawBlendMode(SDL_Renderer *renderer,int *blendMode);
int SDL_GetRenderDrawColor(SDL_Renderer *renderer,unsigned char *r,unsigned char *g,unsigned char *b,unsigned char *a);
int SDL_GetRenderDriverInfo(int index,SDL_RendererInfo *info);
SDL_Texture* SDL_GetRenderTarget(SDL_Renderer *renderer);
SDL_Renderer* SDL_GetRenderer(SDL_Window *window);
int SDL_GetRendererInfo(SDL_Renderer *renderer,SDL_RendererInfo *info);
int SDL_GetRendererOutputSize(SDL_Renderer *renderer,int *w,int *h);
char* SDL_GetRevision();
int SDL_GetRevisionNumber();
int SDL_GetScancodeFromKey(int key);
int SDL_GetScancodeFromName(const char *name);
char* SDL_GetScancodeName(int scancode);
int SDL_GetSurfaceAlphaMod(SDL_Surface *surface,unsigned char *alpha);
int SDL_GetSurfaceBlendMode(SDL_Surface *surface,int *blendMode);
int SDL_GetSurfaceColorMod(SDL_Surface *surface,unsigned char *r,unsigned char *g,unsigned char *b);
int SDL_GetSystemRAM();
int SDL_GetTextureAlphaMod(SDL_Texture *texture,unsigned char *alpha);
int SDL_GetTextureBlendMode(SDL_Texture *texture,int *blendMode);
int SDL_GetTextureColorMod(SDL_Texture *texture,unsigned char *r,unsigned char *g,unsigned char *b);
long unsigned int SDL_GetThreadID(SDL_Thread *thread);
char* SDL_GetThreadName(SDL_Thread *thread);
unsigned int SDL_GetTicks();
long long int SDL_GetTouchDevice(int index);
SDL_Finger* SDL_GetTouchFinger(long long int touchID,int index);
void SDL_GetVersion(SDL_version *ver);
char* SDL_GetVideoDriver(int index);
int SDL_GetWindowBordersSize(SDL_Window *window,int *top,int *left,int *bottom,int *right);
float SDL_GetWindowBrightness(SDL_Window *window);
void* SDL_GetWindowData(SDL_Window *window,const char *name);
int SDL_GetWindowDisplayIndex(SDL_Window *window);
int SDL_GetWindowDisplayMode(SDL_Window *window,SDL_DisplayMode *mode);
unsigned int SDL_GetWindowFlags(SDL_Window *window);
SDL_Window* SDL_GetWindowFromID(unsigned int id);
int SDL_GetWindowGammaRamp(SDL_Window *window,short unsigned int *red,short unsigned int *green,short unsigned int *blue);
int SDL_GetWindowGrab(SDL_Window *window);
unsigned int SDL_GetWindowID(SDL_Window *window);
void SDL_GetWindowMaximumSize(SDL_Window *window,int *w,int *h);
void SDL_GetWindowMinimumSize(SDL_Window *window,int *w,int *h);
int SDL_GetWindowOpacity(SDL_Window *window,float *out_opacity);
unsigned int SDL_GetWindowPixelFormat(SDL_Window *window);
void SDL_GetWindowPosition(SDL_Window *window,int *x,int *y);
void SDL_GetWindowSize(SDL_Window *window,int *w,int *h);
SDL_Surface* SDL_GetWindowSurface(SDL_Window *window);
char* SDL_GetWindowTitle(SDL_Window *window);
void SDL_HapticClose(SDL_Haptic *haptic);
void SDL_HapticDestroyEffect(SDL_Haptic *haptic,int effect);
int SDL_HapticEffectSupported(SDL_Haptic *haptic,SDL_HapticEffect *effect);
int SDL_HapticGetEffectStatus(SDL_Haptic *haptic,int effect);
int SDL_HapticIndex(SDL_Haptic *haptic);
char* SDL_HapticName(int device_index);
int SDL_HapticNewEffect(SDL_Haptic *haptic,SDL_HapticEffect *effect);
int SDL_HapticNumAxes(SDL_Haptic *haptic);
int SDL_HapticNumEffects(SDL_Haptic *haptic);
int SDL_HapticNumEffectsPlaying(SDL_Haptic *haptic);
SDL_Haptic* SDL_HapticOpen(int device_index);
SDL_Haptic* SDL_HapticOpenFromJoystick(SDL_Joystick *joystick);
SDL_Haptic* SDL_HapticOpenFromMouse();
int SDL_HapticOpened(int device_index);
int SDL_HapticPause(SDL_Haptic *haptic);
unsigned int SDL_HapticQuery(SDL_Haptic *haptic);
int SDL_HapticRumbleInit(SDL_Haptic *haptic);
int SDL_HapticRumblePlay(SDL_Haptic *haptic,float strength,unsigned int length);
int SDL_HapticRumbleStop(SDL_Haptic *haptic);
int SDL_HapticRumbleSupported(SDL_Haptic *haptic);
int SDL_HapticRunEffect(SDL_Haptic *haptic,int effect,unsigned int iterations);
int SDL_HapticSetAutocenter(SDL_Haptic *haptic,int autocenter);
int SDL_HapticSetGain(SDL_Haptic *haptic,int gain);
int SDL_HapticStopAll(SDL_Haptic *haptic);
int SDL_HapticStopEffect(SDL_Haptic *haptic,int effect);
int SDL_HapticUnpause(SDL_Haptic *haptic);
int SDL_HapticUpdateEffect(SDL_Haptic *haptic,int effect,SDL_HapticEffect *data);
int SDL_Has3DNow();
int SDL_HasAVX();
int SDL_HasAVX2();
int SDL_HasAltiVec();
int SDL_HasClipboardText();
int SDL_HasEvent(unsigned int type);
int SDL_HasEvents(unsigned int minType,unsigned int maxType);
int SDL_HasIntersection(const SDL_Rect *A,const SDL_Rect *B);
int SDL_HasMMX();
int SDL_HasRDTSC();
int SDL_HasSSE();
int SDL_HasSSE2();
int SDL_HasSSE3();
int SDL_HasSSE41();
int SDL_HasSSE42();
int SDL_HasScreenKeyboardSupport();
void SDL_HideWindow(SDL_Window *window);
int SDL_Init(unsigned int flags);
int SDL_InitSubSystem(unsigned int flags);
int SDL_IntersectRect(const SDL_Rect *A,const SDL_Rect *B,SDL_Rect *result);
int SDL_IntersectRectAndLine(const SDL_Rect *rect,int *X1,int *Y1,int *X2,int *Y2);
int SDL_IsGameController(int joystick_index);
int SDL_IsScreenKeyboardShown(SDL_Window *window);
int SDL_IsScreenSaverEnabled();
int SDL_IsTextInputActive();
void SDL_JoystickClose(SDL_Joystick *joystick);
int SDL_JoystickCurrentPowerLevel(SDL_Joystick *joystick);
int SDL_JoystickEventState(int state);
SDL_Joystick* SDL_JoystickFromInstanceID(int joyid);
int SDL_JoystickGetAttached(SDL_Joystick *joystick);
short int SDL_JoystickGetAxis(SDL_Joystick *joystick,int axis);
int SDL_JoystickGetBall(SDL_Joystick *joystick,int ball,int *dx,int *dy);
unsigned char SDL_JoystickGetButton(SDL_Joystick *joystick,int button);
SDL_JoystickGUID SDL_JoystickGetDeviceGUID(int device_index);
SDL_JoystickGUID SDL_JoystickGetGUID(SDL_Joystick *joystick);
SDL_JoystickGUID SDL_JoystickGetGUIDFromString(const char *pchGUID);
void SDL_JoystickGetGUIDString(SDL_JoystickGUID guid,char *pszGUID,int cbGUID);
unsigned char SDL_JoystickGetHat(SDL_Joystick *joystick,int hat);
int SDL_JoystickInstanceID(SDL_Joystick *joystick);
int SDL_JoystickIsHaptic(SDL_Joystick *joystick);
char* SDL_JoystickName(SDL_Joystick *joystick);
char* SDL_JoystickNameForIndex(int device_index);
int SDL_JoystickNumAxes(SDL_Joystick *joystick);
int SDL_JoystickNumBalls(SDL_Joystick *joystick);
int SDL_JoystickNumButtons(SDL_Joystick *joystick);
int SDL_JoystickNumHats(SDL_Joystick *joystick);
SDL_Joystick* SDL_JoystickOpen(int device_index);
void SDL_JoystickUpdate();
SDL_Surface* SDL_LoadBMP_RW(SDL_RWops *src,int freesrc);
int SDL_LoadDollarTemplates(long long int touchId,SDL_RWops *src);
void* SDL_LoadFunction(void *handle,const char *name);
void* SDL_LoadObject(const char *sofile);
SDL_AudioSpec* SDL_LoadWAV_RW(SDL_RWops *src,int freesrc,SDL_AudioSpec *spec,unsigned char **audio_buf,unsigned int *audio_len);
void SDL_LockAudio();
void SDL_LockAudioDevice(unsigned int dev);
int SDL_LockMutex(SDL_mutex *mutex);
int SDL_LockSurface(SDL_Surface *surface);
int SDL_LockTexture(SDL_Texture *texture,const SDL_Rect *rect,void **pixels,int *pitch);
void SDL_Log(const char *fmt);
void SDL_LogCritical(int category,const char *fmt);
void SDL_LogDebug(int category,const char *fmt);
void SDL_LogError(int category,const char *fmt);
void SDL_LogGetOutputFunction(func **callback,void **userdata);
int SDL_LogGetPriority(int category);
void SDL_LogInfo(int category,const char *fmt);
void SDL_LogMessage(int category,int priority,const char *fmt);
void SDL_LogMessageV(int category,int priority,const char *fmt,char *ap);
void SDL_LogResetPriorities();
void SDL_LogSetAllPriority(int priority);
void SDL_LogSetOutputFunction(func *callback,void *userdata);
void SDL_LogSetPriority(int category,int priority);
void SDL_LogVerbose(int category,const char *fmt);
void SDL_LogWarn(int category,const char *fmt);
int SDL_LowerBlit(SDL_Surface *src,SDL_Rect *srcrect,SDL_Surface *dst,SDL_Rect *dstrect);
int SDL_LowerBlitScaled(SDL_Surface *src,SDL_Rect *srcrect,SDL_Surface *dst,SDL_Rect *dstrect);
unsigned int SDL_MapRGB(const SDL_PixelFormat *format,unsigned char r,unsigned char g,unsigned char b);
unsigned int SDL_MapRGBA(const SDL_PixelFormat *format,unsigned char r,unsigned char g,unsigned char b,unsigned char a);
unsigned int SDL_MasksToPixelFormatEnum(int bpp,unsigned int Rmask,unsigned int Gmask,unsigned int Bmask,unsigned int Amask);
void SDL_MaximizeWindow(SDL_Window *window);
void SDL_MinimizeWindow(SDL_Window *window);
void SDL_MixAudio(unsigned char *dst,const unsigned char *src,unsigned int len,int volume);
void SDL_MixAudioFormat(unsigned char *dst,const unsigned char *src,short unsigned int format,unsigned int len,int volume);
int SDL_MouseIsHaptic();
int SDL_NumHaptics();
int SDL_NumJoysticks();
int SDL_OpenAudio(SDL_AudioSpec *desired,SDL_AudioSpec *obtained);
unsigned int SDL_OpenAudioDevice(const char *device,int iscapture,const SDL_AudioSpec *desired,SDL_AudioSpec *obtained,int allowed_changes);
void SDL_PauseAudio(int pause_on);
void SDL_PauseAudioDevice(unsigned int dev,int pause_on);
int SDL_PeepEvents(SDL_Event *events,int numevents,int action,unsigned int minType,unsigned int maxType);
int SDL_PixelFormatEnumToMasks(unsigned int format,int *bpp,unsigned int *Rmask,unsigned int *Gmask,unsigned int *Bmask,unsigned int *Amask);
int SDL_PointInRect(const SDL_Point *p,const SDL_Rect *r);
int SDL_PollEvent(SDL_Event *event);
void SDL_PumpEvents();
int SDL_PushEvent(SDL_Event *event);
int SDL_QueryTexture(SDL_Texture *texture,unsigned int *format,int *access,int *w,int *h);
int SDL_QueueAudio(unsigned int dev,const void *data,unsigned int len);
void SDL_Quit();
void SDL_QuitSubSystem(unsigned int flags);
SDL_RWops* SDL_RWFromConstMem(const void *mem,int size);
SDL_RWops* SDL_RWFromFP(FILE *fp,int autoclose);
SDL_RWops* SDL_RWFromFile(const char *file,const char *mode);
SDL_RWops* SDL_RWFromMem(void *mem,int size);
void SDL_RaiseWindow(SDL_Window *window);
short unsigned int SDL_ReadBE16(SDL_RWops *src);
unsigned int SDL_ReadBE32(SDL_RWops *src);
long long unsigned int SDL_ReadBE64(SDL_RWops *src);
short unsigned int SDL_ReadLE16(SDL_RWops *src);
unsigned int SDL_ReadLE32(SDL_RWops *src);
long long unsigned int SDL_ReadLE64(SDL_RWops *src);
unsigned char SDL_ReadU8(SDL_RWops *src);
int SDL_RecordGesture(long long int touchId);
int SDL_RectEmpty(const SDL_Rect *r);
int SDL_RectEquals(const SDL_Rect *a,const SDL_Rect *b);
int SDL_RegisterApp(char *name,unsigned int style,void *hInst);
unsigned int SDL_RegisterEvents(int numevents);
int SDL_RemoveTimer(int id);
int SDL_RenderClear(SDL_Renderer *renderer);
int SDL_RenderCopy(SDL_Renderer *renderer,SDL_Texture *texture,const SDL_Rect *srcrect,const SDL_Rect *dstrect);
int SDL_RenderCopyEx(SDL_Renderer *renderer,SDL_Texture *texture,const SDL_Rect *srcrect,const SDL_Rect *dstrect,const double angle,const SDL_Point *center,const int flip);
int SDL_RenderDrawLine(SDL_Renderer *renderer,int x1,int y1,int x2,int y2);
int SDL_RenderDrawLines(SDL_Renderer *renderer,const SDL_Point *points,int count);
int SDL_RenderDrawPoint(SDL_Renderer *renderer,int x,int y);
int SDL_RenderDrawPoints(SDL_Renderer *renderer,const SDL_Point *points,int count);
int SDL_RenderDrawRect(SDL_Renderer *renderer,const SDL_Rect *rect);
int SDL_RenderDrawRects(SDL_Renderer *renderer,const SDL_Rect *rects,int count);
int SDL_RenderFillRect(SDL_Renderer *renderer,const SDL_Rect *rect);
int SDL_RenderFillRects(SDL_Renderer *renderer,const SDL_Rect *rects,int count);
void SDL_RenderGetClipRect(SDL_Renderer *renderer,SDL_Rect *rect);
IDirect3DDevice9* SDL_RenderGetD3D9Device(SDL_Renderer *renderer);
int SDL_RenderGetIntegerScale(SDL_Renderer *renderer);
void SDL_RenderGetLogicalSize(SDL_Renderer *renderer,int *w,int *h);
void SDL_RenderGetScale(SDL_Renderer *renderer,float *scaleX,float *scaleY);
void SDL_RenderGetViewport(SDL_Renderer *renderer,SDL_Rect *rect);
int SDL_RenderIsClipEnabled(SDL_Renderer *renderer);
void SDL_RenderPresent(SDL_Renderer *renderer);
int SDL_RenderReadPixels(SDL_Renderer *renderer,const SDL_Rect *rect,unsigned int format,void *pixels,int pitch);
int SDL_RenderSetClipRect(SDL_Renderer *renderer,const SDL_Rect *rect);
int SDL_RenderSetIntegerScale(SDL_Renderer *renderer,int enable);
int SDL_RenderSetLogicalSize(SDL_Renderer *renderer,int w,int h);
int SDL_RenderSetScale(SDL_Renderer *renderer,float scaleX,float scaleY);
int SDL_RenderSetViewport(SDL_Renderer *renderer,const SDL_Rect *rect);
int SDL_RenderTargetSupported(SDL_Renderer *renderer);
int SDL_ReportAssertion(SDL_AssertData *a1,const char *a2,const char *a3,int a4);
void SDL_ResetAssertionReport();
void SDL_RestoreWindow(SDL_Window *window);
int SDL_SaveAllDollarTemplates(SDL_RWops *dst);
int SDL_SaveBMP_RW(SDL_Surface *surface,SDL_RWops *dst,int freedst);
int SDL_SaveDollarTemplate(long long int gestureId,SDL_RWops *dst);
int SDL_SemPost(SDL_sem *sem);
int SDL_SemTryWait(SDL_sem *sem);
unsigned int SDL_SemValue(SDL_sem *sem);
int SDL_SemWait(SDL_sem *sem);
int SDL_SemWaitTimeout(SDL_sem *sem,unsigned int ms);
void SDL_SetAssertionHandler(func *handler,void *userdata);
int SDL_SetClipRect(SDL_Surface *surface,const SDL_Rect *rect);
int SDL_SetClipboardText(const char *text);
int SDL_SetColorKey(SDL_Surface *surface,int flag,unsigned int key);
void SDL_SetCursor(SDL_Cursor *cursor);
int SDL_SetError(const char *fmt);
void SDL_SetEventFilter(func *filter,void *userdata);
int SDL_SetHint(const char *name,const char *value);
int SDL_SetHintWithPriority(const char *name,const char *value,int priority);
void SDL_SetMainReady();
void SDL_SetModState(int modstate);
int SDL_SetPaletteColors(SDL_Palette *palette,const SDL_Color *colors,int firstcolor,int ncolors);
int SDL_SetPixelFormatPalette(SDL_PixelFormat *format,SDL_Palette *palette);
int SDL_SetRelativeMouseMode(int enabled);
int SDL_SetRenderDrawBlendMode(SDL_Renderer *renderer,int blendMode);
int SDL_SetRenderDrawColor(SDL_Renderer *renderer,unsigned char r,unsigned char g,unsigned char b,unsigned char a);
int SDL_SetRenderTarget(SDL_Renderer *renderer,SDL_Texture *texture);
int SDL_SetSurfaceAlphaMod(SDL_Surface *surface,unsigned char alpha);
int SDL_SetSurfaceBlendMode(SDL_Surface *surface,int blendMode);
int SDL_SetSurfaceColorMod(SDL_Surface *surface,unsigned char r,unsigned char g,unsigned char b);
int SDL_SetSurfacePalette(SDL_Surface *surface,SDL_Palette *palette);
int SDL_SetSurfaceRLE(SDL_Surface *surface,int flag);
void SDL_SetTextInputRect(SDL_Rect *rect);
int SDL_SetTextureAlphaMod(SDL_Texture *texture,unsigned char alpha);
int SDL_SetTextureBlendMode(SDL_Texture *texture,int blendMode);
int SDL_SetTextureColorMod(SDL_Texture *texture,unsigned char r,unsigned char g,unsigned char b);
int SDL_SetThreadPriority(int priority);
void SDL_SetWindowBordered(SDL_Window *window,int bordered);
int SDL_SetWindowBrightness(SDL_Window *window,float brightness);
void* SDL_SetWindowData(SDL_Window *window,const char *name,void *userdata);
int SDL_SetWindowDisplayMode(SDL_Window *window,const SDL_DisplayMode *mode);
int SDL_SetWindowFullscreen(SDL_Window *window,unsigned int flags);
int SDL_SetWindowGammaRamp(SDL_Window *window,const short unsigned int *red,const short unsigned int *green,const short unsigned int *blue);
void SDL_SetWindowGrab(SDL_Window *window,int grabbed);
int SDL_SetWindowHitTest(SDL_Window *window,func *callback,void *callback_data);
void SDL_SetWindowIcon(SDL_Window *window,SDL_Surface *icon);
int SDL_SetWindowInputFocus(SDL_Window *window);
void SDL_SetWindowMaximumSize(SDL_Window *window,int max_w,int max_h);
void SDL_SetWindowMinimumSize(SDL_Window *window,int min_w,int min_h);
int SDL_SetWindowModalFor(SDL_Window *modal_window,SDL_Window *parent_window);
int SDL_SetWindowOpacity(SDL_Window *window,float opacity);
void SDL_SetWindowPosition(SDL_Window *window,int x,int y);
void SDL_SetWindowResizable(SDL_Window *window,int resizable);
void SDL_SetWindowSize(SDL_Window *window,int w,int h);
void SDL_SetWindowTitle(SDL_Window *window,const char *title);
void SDL_SetWindowsMessageHook(func *callback,void *userdata);
int SDL_ShowCursor(int toggle);
int SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata,int *buttonid);
int SDL_ShowSimpleMessageBox(unsigned int flags,const char *title,const char *message,SDL_Window *window);
void SDL_ShowWindow(SDL_Window *window);
int SDL_SoftStretch(SDL_Surface *src,const SDL_Rect *srcrect,SDL_Surface *dst,const SDL_Rect *dstrect);
void SDL_StartTextInput();
void SDL_StopTextInput();
short unsigned int SDL_Swap16(short unsigned int x);
unsigned int SDL_Swap32(unsigned int x);
long long unsigned int SDL_Swap64(long long unsigned int x);
float SDL_SwapFloat(float x);
unsigned int SDL_TLSCreate();
void* SDL_TLSGet(unsigned int id);
int SDL_TLSSet(unsigned int id,const void *value,func *destructor);
long unsigned int SDL_ThreadID();
int SDL_TryLockMutex(SDL_mutex *mutex);
void SDL_UnionRect(const SDL_Rect *A,const SDL_Rect *B,SDL_Rect *result);
void SDL_UnloadObject(void *handle);
void SDL_UnlockAudio();
void SDL_UnlockAudioDevice(unsigned int dev);
int SDL_UnlockMutex(SDL_mutex *mutex);
void SDL_UnlockSurface(SDL_Surface *surface);
void SDL_UnlockTexture(SDL_Texture *texture);
void SDL_UnregisterApp();
int SDL_UpdateTexture(SDL_Texture *texture,const SDL_Rect *rect,const void *pixels,int pitch);
int SDL_UpdateWindowSurface(SDL_Window *window);
int SDL_UpdateWindowSurfaceRects(SDL_Window *window,const SDL_Rect *rects,int numrects);
int SDL_UpdateYUVTexture(SDL_Texture *texture,const SDL_Rect *rect,const unsigned char *Yplane,int Ypitch,const unsigned char *Uplane,int Upitch,const unsigned char *Vplane,int Vpitch);
int SDL_UpperBlit(SDL_Surface *src,const SDL_Rect *srcrect,SDL_Surface *dst,SDL_Rect *dstrect);
int SDL_UpperBlitScaled(SDL_Surface *src,const SDL_Rect *srcrect,SDL_Surface *dst,SDL_Rect *dstrect);
int SDL_VideoInit(const char *driver_name);
void SDL_VideoQuit();
int SDL_WaitEvent(SDL_Event *event);
int SDL_WaitEventTimeout(SDL_Event *event,int timeout);
void SDL_WaitThread(SDL_Thread *thread,int *status);
int SDL_WarpMouseGlobal(int x,int y);
void SDL_WarpMouseInWindow(SDL_Window *window,int x,int y);
unsigned int SDL_WasInit(unsigned int flags);
unsigned int SDL_WriteBE16(SDL_RWops *dst,short unsigned int value);
unsigned int SDL_WriteBE32(SDL_RWops *dst,unsigned int value);
unsigned int SDL_WriteBE64(SDL_RWops *dst,long long unsigned int value);
unsigned int SDL_WriteLE16(SDL_RWops *dst,short unsigned int value);
unsigned int SDL_WriteLE32(SDL_RWops *dst,unsigned int value);
unsigned int SDL_WriteLE64(SDL_RWops *dst,long long unsigned int value);
unsigned int SDL_WriteU8(SDL_RWops *dst,unsigned char value);
int SDL_abs(int x);
double SDL_acos(double x);
double SDL_asin(double x);
double SDL_atan(double x);
double SDL_atan2(double x,double y);
double SDL_atof(const char *str);
int SDL_atoi(const char *str);
void* SDL_calloc(unsigned int nmemb,unsigned int size);
double SDL_ceil(double x);
double SDL_copysign(double x,double y);
double SDL_cos(double x);
float SDL_cosf(float x);
double SDL_fabs(double x);
double SDL_floor(double x);
void SDL_free(void *mem);
char* SDL_getenv(const char *name);
unsigned int SDL_iconv(SDL_iconv_t *cd,const char **inbuf,unsigned int *inbytesleft,char **outbuf,unsigned int *outbytesleft);
int SDL_iconv_close(SDL_iconv_t *cd);
SDL_iconv_t* SDL_iconv_open(const char *tocode,const char *fromcode);
char* SDL_iconv_string(const char *tocode,const char *fromcode,const char *inbuf,unsigned int inbytesleft);
int SDL_isdigit(int x);
int SDL_isspace(int x);
char* SDL_itoa(int value,char *str,int radix);
char* SDL_lltoa(long long int value,char *str,int radix);
double SDL_log(double x);
char* SDL_ltoa(long int value,char *str,int radix);
int SDL_main(int argc,char **argv);
void* SDL_malloc(unsigned int size);
int SDL_memcmp(const void *s1,const void *s2,unsigned int len);
void* SDL_memcpy(void *dst,const void *src,unsigned int len);
void* SDL_memcpy4(void *dst,const void *src,unsigned int dwords);
void* SDL_memmove(void *dst,const void *src,unsigned int len);
void* SDL_memset(void *dst,int c,unsigned int len);
void SDL_memset4(void *dst,unsigned int val,unsigned int dwords);
double SDL_pow(double x,double y);
void SDL_qsort(void *base,unsigned int nmemb,unsigned int size,func *compare);
void* SDL_realloc(void *mem,unsigned int size);
double SDL_scalbn(double x,int n);
int SDL_setenv(const char *name,const char *value,int overwrite);
double SDL_sin(double x);
float SDL_sinf(float x);
int SDL_snprintf(char *text,unsigned int maxlen,const char *fmt);
double SDL_sqrt(double x);
float SDL_sqrtf(float x);
int SDL_sscanf(const char *text,const char *fmt);
int SDL_strcasecmp(const char *str1,const char *str2);
char* SDL_strchr(const char *str,int c);
int SDL_strcmp(const char *str1,const char *str2);
char* SDL_strdup(const char *str);
unsigned int SDL_strlcat(char *dst,const char *src,unsigned int maxlen);
unsigned int SDL_strlcpy(char *dst,const char *src,unsigned int maxlen);
unsigned int SDL_strlen(const char *str);
char* SDL_strlwr(char *str);
int SDL_strncasecmp(const char *str1,const char *str2,unsigned int len);
int SDL_strncmp(const char *str1,const char *str2,unsigned int maxlen);
char* SDL_strrchr(const char *str,int c);
char* SDL_strrev(char *str);
char* SDL_strstr(const char *haystack,const char *needle);
double SDL_strtod(const char *str,char **endp);
long int SDL_strtol(const char *str,char **endp,int base);
long long int SDL_strtoll(const char *str,char **endp,int base);
long unsigned int SDL_strtoul(const char *str,char **endp,int base);
long long unsigned int SDL_strtoull(const char *str,char **endp,int base);
char* SDL_strupr(char *str);
double SDL_tan(double x);
float SDL_tanf(float x);
int SDL_tolower(int x);
int SDL_toupper(int x);
char* SDL_uitoa(unsigned int value,char *str,int radix);
char* SDL_ulltoa(long long unsigned int value,char *str,int radix);
char* SDL_ultoa(long unsigned int value,char *str,int radix);
unsigned int SDL_utf8strlcpy(char *dst,const char *src,unsigned int dst_bytes);
int SDL_vsnprintf(char *text,unsigned int maxlen,const char *fmt,char *ap);
int SDL_vsscanf(const char *text,const char *fmt,char *ap);
unsigned int SDL_wcslcat(wchar_t *dst,const wchar_t *src,unsigned int maxlen);
unsigned int SDL_wcslcpy(wchar_t *dst,const wchar_t *src,unsigned int maxlen);
unsigned int SDL_wcslen(const wchar_t *wstr);
const char* SDL_AndroidGetInternalStoragePath();
